<!DOCTYPE html>
<html lang="zh-cn" xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8">
    <title>404</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
    <h1><span id="seconds">3</span> 秒后返回 <a href="./?404" id="url">首页</a></h1>
    <script type="text/javascript">
        var seconds = document.getElementById('seconds');
        window.setInterval(function(){
            var i = seconds.innerHTML*1;
            i--;
            if(i>=0){seconds.innerHTML=i;}
            if(i<=0){
                window.location.href=document.getElementById('url').href;
            }
        },1000);
    </script>
</body>
</html>